﻿using System.Collections.Generic;

namespace DataAccess.Repository
{
	public interface IKPIRepository
	{
		bool CreateKPI(Models.KPI kpi);
		bool UpdateKPI(Models.KPI kpi, bool updateFromKPIForUpdate);
		bool DeleteKPI(int id, bool completeDelete);
		List<Models.KPI> GetKPIs(int groupID, string state, int y, int pageIndex, int pageSize, out int totalRecords);
		Models.KPI GetTheKPI(int id);
		bool CreateKPIForUpdate(Models.KPIForUpdate theKPIForUpdate);
	}
}
